package lab01;

import java.util.Scanner;

public class test06 {
    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        int grade=sc.nextInt();

        switch(grade) {
            case 1:
                System.out.println("不及格");
                break;
            case 2:
                System.out.println("及格");
                break;
            case 3:
                System.out.println("中等");
                break;
            case 4:
                System.out.println("良好");
                break;
            case 5:
                System.out.println("优秀");
                break;
            default:System.out.println("   ");
        }
    }
}
/* if-else语句
        import java.util.Scanner;//输入语句

public class Test5 {
    public static void main(String[] args) {

        Scanner sc=new Scanner(System.in);
        int grade=sc.nextInt();
        if(grade==1)
            System.out.println("不及格");
        else {
            if (grade == 2)
                System.out.println("及格");
            if (grade == 3)
                System.out.println("中等");
            if (grade == 4)
                System.out.println("良好");
            if (grade == 5)
                System.out.println("优秀");
        }

    }
}*/
